package com.li.aop.transcation.service;

import org.springframework.stereotype.Service;

@Service
public class OrderService {

    //生成订单
    public void generate() {
        System.out.println("正在生成订单...");
    }

    //取消订单
    public void cancel() {
        System.out.println("订单已取消...");
        String s = null;
        s.toString();
    }
}
